home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Mania 1
/
MacMania 1.toast
/
Educational
/
Misc.
/
Class Administrator
/
SetUpStack
/
card_17728.txt
< prev
next >
Wrap
Text File
|
1990-07-06
|
15KB
|
769 lines
-- card: 17728 from stack: in
-- bmap block id: 7049
-- flags: 0000
-- background id: 6348
-- name: AttendanceTemplate
-- part 4 (field)
-- low flags: 00
-- high flags: 0004
-- rect: left=14 top=60 right=241 bottom=82
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 15
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name:
-- part 5 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=82 top=60 right=241 bottom=94
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A1
-- part 6 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=94 top=60 right=241 bottom=106
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A2
-- part 8 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=106 top=60 right=241 bottom=118
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A3
-- part 9 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=118 top=60 right=241 bottom=130
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A4
-- part 10 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=130 top=60 right=241 bottom=142
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A5
-- part 11 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=142 top=60 right=241 bottom=154
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A6
-- part 12 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=154 top=60 right=241 bottom=166
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A7
-- part 13 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=169 top=60 right=241 bottom=181
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A8
-- part 14 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=181 top=60 right=241 bottom=193
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A9
-- part 15 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=193 top=60 right=241 bottom=205
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A10
-- part 16 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=205 top=60 right=241 bottom=217
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A11
-- part 17 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=217 top=60 right=241 bottom=229
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A12
-- part 18 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=229 top=60 right=241 bottom=241
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A13
-- part 19 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=241 top=60 right=241 bottom=253
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A14
-- part 20 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=259 top=60 right=241 bottom=271
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A15
-- part 21 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=271 top=60 right=241 bottom=283
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A16
-- part 22 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=283 top=60 right=241 bottom=295
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A17
-- part 23 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=295 top=60 right=241 bottom=307
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A18
-- part 24 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=307 top=60 right=241 bottom=319
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A19
-- part 25 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=319 top=60 right=241 bottom=331
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A20
-- part 26 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=331 top=60 right=241 bottom=343
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A21
-- part 27 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=346 top=60 right=241 bottom=358
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A22
-- part 28 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=358 top=60 right=241 bottom=370
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A23
-- part 29 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=370 top=60 right=241 bottom=382
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A24
-- part 30 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=382 top=60 right=241 bottom=394
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A25
-- part 35 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=394 top=60 right=241 bottom=406
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A26
-- part 36 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=406 top=60 right=241 bottom=418
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A27
-- part 37 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=418 top=60 right=241 bottom=430
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A28
-- part 38 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=433 top=60 right=241 bottom=445
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A29
-- part 39 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=445 top=60 right=241 bottom=457
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A30
-- part 40 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=457 top=60 right=241 bottom=469
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 34
-- text size: 10
-- style flags: 0
-- line height: 18
-- part name: A31
-- part 46 (button)
-- low flags: 00
-- high flags: 0003
-- rect: left=257 top=0 right=23 bottom=342
-- title width / last selected line: 0
-- icon id / first selected line: 1013 / 1013
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
go next
end mouseUp
-- part 47 (button)
-- low flags: 00
-- high flags: 0003
-- rect: left=155 top=0 right=23 bottom=246
-- title width / last selected line: 0
-- icon id / first selected line: 1014 / 1014
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
go previous
end mouseUp
-- part 49 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=19 top=0 right=24 bottom=54
-- title width / last selected line: 0
-- icon id / first selected line: 2162 / 2162
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
go to first card
end mouseUp
-- part 50 (field)
-- low flags: 00
-- high flags: 0002
-- rect: left=74 top=34 right=52 bottom=186
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name: Name
-- part 51 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=230 top=34 right=52 bottom=356
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name: Class
-- part 52 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=432 top=34 right=53 bottom=480
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name: Period
-- part 53 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=141 top=243 right=261 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Total Absences
----- HyperTalk script -----
On MouseUp
put 0 into total
Repeat with y = 2 to 32
Repeat with x = 1 to 10
put line x of card field y into temp
if temp is empty or temp is "T" then
next repeat
else
put total + 1 into total
end if
end repeat
end repeat
put total into card field "Total Absences"
end MouseUp
-- part 54 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=141 top=262 right=280 bottom=209
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Total Tardies
----- HyperTalk script -----
On MouseUp
put 0 into total
repeat with y = 2 to 32
repeat with x = 1 to 10
if line x of card field y is "T" then put total + 1 into total
end repeat
end repeat
put total into card field "Total Tardies"
end MouseUp
-- part 55 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=388 top=244 right=262 bottom=456
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Excused Absences
----- HyperTalk script -----
On MouseUp
put 0 into total
Repeat with y = 2 to 32
Repeat with x = 1 to 10
put line x of card field y into temp
if temp is "V" then
put total + 1 into total
next repeat
end if
if temp is "I" then
put total + 1 into total
next repeat
end if
if temp is "V" then put total + 1 into total
end repeat
end repeat
put total into card field "Excused Absences"
end MouseUp
-- part 56 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=388 top=263 right=281 bottom=456
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Unexcused Absences
----- HyperTalk script -----
On MouseUp
put 0 into total
Repeat with y = 2 to 32
Repeat with x = 1 to 10
put line x of card field y into temp
if temp is "A" then
put total + 1 into total
next repeat
end if
if temp is "S" then
put total + 1 into total
next repeat
end if
if temp is "U" then put total + 1 into total
end repeat
end repeat
put total into card field "Excused Absences"
end MouseUp
-- part 57 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=48 top=0 right=24 bottom=71
-- title width / last selected line: 0
-- icon id / first selected line: 8538 / 8538
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Grades
----- HyperTalk script -----
on mouseUp
put char 1 of word 1 of card field "Name" into temp
put temp & word 2 of card field "Name" & "Grades" into cardname
visual effect iris open
go to card cardname
end mouseUp
-- part 58 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=73 top=0 right=25 bottom=105
-- title width / last selected line: 0
-- icon id / first selected line: 1007 / 1007
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Printer
----- HyperTalk script -----
on mouseUp
print this card
end mouseUp
-- part contents for card part 4
----- text -----
September
October
November
December
January
February
March
April
May
June
-- part contents for card part 5
----- text -----
-- part contents for card part 16
----- text -----
-- part contents for card part 21
----- text -----
-- part contents for card part 11
----- text -----
-- part contents for card part 17
----- text -----